home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 April
/
CHIP CD (4 - 2007).iso
/
beeld
/
3d
/
ArtOfIllusion24-Mac.dmg
/
Art of Illusion
/
ArtOfIllusion.jar
/
bsh
/
commands
/
getResource.bsh
< prev
next >
Wrap
Text File
|
2005-05-23
|
353b
|
15 lines
/**
Get a resource from the BeanShell classpath.
This method takes into account modification to the BeanShell class path via
addClassPath() and setClassPath();
*/
bsh.help.getResource = "usage: getResource( String name )";
import bsh.Interpreter;
URL getResource( String path )
{
return this.interpreter.getClassManager().getResource( path );
}